package com.czmh.etc.onlinepubsys.feign.newrun.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class EtcUser extends XBaseEntity {
    @ApiModelProperty(name = "id", value = "主键")
    private String id;

    @ApiModelProperty(name = "loginName", value = "登录账号")
    private String loginName;

    @ApiModelProperty(name = "loginPass", value = "登录密码")
    private String loginPass;

    @ApiModelProperty(name = "wechat", value = "微信号")
    private String wechat;

    @ApiModelProperty(name = "alipay", value = "支付宝账号")
    private String alipay;

    @ApiModelProperty(name = "mobile", value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty(name = "token", value = "token")
    private String token;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Date createTime;

    @ApiModelProperty(name = "updateTime", value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(name = "lastLoginTime", value = "最后登录时间")
    private Date lastLoginTime;

    @ApiModelProperty(name = "disable", value = "0:可用 1:不可用")
    private boolean disable;

    @ApiModelProperty(name = "disable", value = "0:可用 1:不可用")
    private boolean delFlag;

    @ApiModelProperty(name = "openid", value = "微信openid")
    private String openid;

    @ApiModelProperty(name = "unionId", value = "微信unionId")
    private String unionId;

    @ApiModelProperty(name = "nickname", value = "昵称")
    private String nickname;

    @ApiModelProperty(name = "headimgurl", value = "头像url")
    private String headimgurl;

    @ApiModelProperty(name = "provice", value = "省份")
    private String provice;

    @ApiModelProperty(name = "sourceUser", value = "用户注册来源")
    private Integer sourceUser;

    @ApiModelProperty(name = "whetherSetPass", value = "是否设置密码 0-是 1-否")
    private Integer whetherSetPass;
    
    @ApiModelProperty(name = "validCode", value = "验证码")
    private String validCode;
    
    

}